package handler

import (
	"bytes"
	"encoding/binary"

	"github.com/cz-it/gonnectd/src/proto"
)

type Syn struct {
}

func NewSyn() *Syn {
	syn := new(Syn)
	return syn
}

func (syn *Syn) Proc(body proto.Body) []byte {
	buf := new(bytes.Buffer)
	binary.Write(buf, binary.BigEndian, []byte("ACK"))
	return buf.Bytes()
}











